package com.gt.web.srv.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 用户货品
 * @TableName biz_people_goods
 */
@TableName(value ="biz_people_goods")
@Data
public class PeopleGoods extends BaseAuto {
    /**
     * 
     */
    @TableId(value = "user_goods_id", type = IdType.AUTO)
    private Long userGoodsId;

    /**
     * 来源商品
     */
    @TableField(value = "source_id")
    private Long sourceId;

    /**
     * 用户ID
     */
    @TableField(value = "people_id")
    private Long peopleId;

    @TableField(value = "people_name")
    private String peopleName;

    /**
     * 商品标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 类目ID
     */
    @TableField(value = "classify_id")
    private Integer classifyId;
    private String classifyName;

    /**
     * 社区ID
     */
    @TableField(value = "community_id")
    private Integer communityId;

    @TableField(value = "community_name")
    private String communityName;

    /**
     * 消耗积分
     */
    @TableField(value = "exchange_num")
    private Integer exchangeNum;

    /**
     * 兑换时间
     */
    @TableField(value = "received_time")
    private LocalDateTime receivedTime;

    /**
     * 核销时间
     */
    @TableField(value = "verification_time")
    private LocalDateTime verificationTime;

    /**
     * 预期发放的时间
     */
    @TableField(value = "exchange_start_time")
    private LocalDateTime exchangeStartTime;

    /**
     * 预期发放的时间
     */
    @TableField(value = "exchange_end_time")
    private LocalDateTime exchangeEndTime;

    /**
     * 0：待领取，1：已领取,2:取消领取
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 发放地址
     */
    @TableField(value = "exchange_address")
    private String exchangeAddress;

    /**
     * 发放人ID
     */
    @TableField(value = "verification_people_id")
    private Long verificationPeopleId;

    /**
     * 发放人
     */
    @TableField(value = "verification_people_name")
    private String verificationPeopleName;

    @TableField(value = "img_url")
    private String imgUrl;

    private Integer gridId;

}